package com.wolf.service.impl;

import com.wolf.pojo.Wl_commodity_brand_tag;
import com.wolf.repository.Wl_commodity_brand_tagMapper;
import com.wolf.service.Wl_commodity_brand_tagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class Wl_commodity_brand_tagServiceImpl implements Wl_commodity_brand_tagService{

    @Autowired
    Wl_commodity_brand_tagMapper wl_commodity_brand_tagMapper;

    @Override
    public int insert(Wl_commodity_brand_tag record) {
        return wl_commodity_brand_tagMapper.insert(record);
    }

    @Override
    public int insertSelective(Wl_commodity_brand_tag record) {
        return wl_commodity_brand_tagMapper.insertSelective(record);
    }

    @Override
    public Wl_commodity_brand_tag selectByPrimaryKey(String id) {
        return wl_commodity_brand_tagMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Wl_commodity_brand_tag record) {
        return wl_commodity_brand_tagMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Wl_commodity_brand_tag record) {
        return wl_commodity_brand_tagMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<Wl_commodity_brand_tag> getAll() {
        return wl_commodity_brand_tagMapper.getAll();
    }

    @Override
    public List<Wl_commodity_brand_tag> fuzzyQuery(String tagName, String beginUpdateTime, String endUpdateTime, String status) {
        return wl_commodity_brand_tagMapper.fuzzyQuery(tagName, beginUpdateTime, endUpdateTime, status);
    }
}
